package com.unicom.mec.device.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 边缘节点信息
 *
 * @author 刘亮武
 * @date 2020年07月03日
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EditEdgeNodeVo {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "边缘节点名称")
    private String edgeNodeName;

    @ApiModelProperty(value = "边缘节点描述")
    private String edgeNodeDesc;

    @ApiModelProperty(value = "接入状态:1.未接入;2.已接入")
    @NotNull(message = "接入状态不能为空")
    private Integer accessStatus;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "维度")
    private String latitude;

}